Expand my Community achievements bar.

Creating SAVE button

Avatar

Former Community Member
Hi, has anyone has any idea how to create a customised button for saving the PDF file instead of going thru FILE/SAVE from the main menu. Designer 7 has a few default buttons e.g. Submit, Print but not SAVE or SAVE AS. Any example would be much appreciated! Many thanks.
3 Replies

Avatar

Former Community Member
Hi Billy,



You can call on the SaveAs function on the "Click" event of a Regular button, using a script like



app.executeMenuItem("SaveAs")



A good reference for methods like this is "Converting Acrobat® JavaScript for Use in LiveCycle Designer Forms" (which you can google for).



Cheers, Xiao

Avatar

Former Community Member
Maybe an idea for giving a name of the document as a parameter for save as function, so that the name you want to write down the document with, would be not some strange digits and letters but what I want?